package org.example.service;

import dto.StandardQuaryDTO;
import entity.QualityStandard;
import org.example.result.PageResult;


public interface ProcessService {
    //分页查询标准信息
    PageResult queryRawMaterialStandards(StandardQuaryDTO standardQuaryDTO);
    PageResult querySemiFinishedStandards(StandardQuaryDTO standardQuaryDTO);
    PageResult queryFinishedStandards(StandardQuaryDTO standardQuaryDTO);
    //添加标准
    void addStandard(QualityStandard  qualityStandard);
    //更改标准
    void updateStandard(QualityStandard  qualityStandard);
    //删除标准
    Boolean deleteStandard(Integer id, String standardStatus);
    //更新标准状态
    void updateStandardStatus(QualityStandard qualityStandard);
}
